from django.urls import re_path

from .views import *

urlpatterns = [
    re_path(r'^banner$', BannerView.as_view(), name='banner'),
    re_path(r'^goodsType$', GoodsTypeView.as_view(), name='goodsType'),
    re_path(r'^goods$', GoodsView.as_view(), name='goods'),
    re_path(r'^info$', InfoView.as_view(), name='info'),
    re_path(r'^image$', ImageView.as_view(), name='image'),
    re_path(r'^rent$', RentView.as_view(), name='rent'),
    re_path(r'^sport$', SportView.as_view(), name='sport'),
    re_path(r'^vip$', VipView.as_view(), name='vip'),
    re_path(r'^coupon$', CouponView.as_view(), name='coupon'),
    re_path(r'^yard$', YardView.as_view(), name='yard'),
    re_path(r'^order$', OrderView.as_view(), name='order'),

    re_path(r'^verify/yard$', VerfiyYardView.as_view(), name='verifyYard'),
    re_path(r'^verify/goods$', VerifyGoodsView.as_view(), name='verifyGoods'),
    re_path(r'^verify/rent$', VerifyRentView.as_view(), name='verifyRent'),
    re_path(r'^verify/rent/back$', VerifyRentBackView.as_view(), name='verifyRentBack'),

    re_path(r'^manage/users$', UsersView.as_view(), name='manageUsers'),
    re_path(r'^manage/capital', CapitalView.as_view(), name='manageCapital'),
    re_path(r'^manage/statistics', StatisticsView.as_view(), name='manageStatistics'),

    re_path(r'^goods/image', GoodsImageView.as_view(), name='goodsImage'),
    re_path(r'^rent/image', RentImageView.as_view(), name='rentImage'),
]
